package com.ys.service.finance;

import java.math.BigDecimal;

import lombok.AllArgsConstructor;
import lombok.Data;

public interface TcwAccountCountForUserService {
	
	void change(ChangePointDto changePointDto, ChangePointFrozenDto changePointFrozenDto) throws Exception;
	@Data
	@AllArgsConstructor
	public class ChangePointDto{
		private String item; // 一级类型名称
		private String itemSub; // 二级类型名称
		private Integer type; // 类型
		private Long relativeId; // 相关ID
		private String userId; // 工号
		private String userName; // 姓名
		private BigDecimal pointChange; // 变化金额
		private String remark; // 备注说明
	}
	@Data
	@AllArgsConstructor
	public class ChangePointFrozenDto{
		private Integer type; // 类型
		private Long relativeId; // 相关ID
		private String userId; // 工号
		private String userName; // 姓名
		private BigDecimal pointChangeFrozen; // 变化金额
		private String remark; // 备注说明
	}
	
	void changePoint_JIAO_WU_CHU(String itemName, String itemNameSub, Integer type, Long relativeId, BigDecimal pointChange, String remark) throws Exception;
}
